package com.jk.mindskip.service;

import com.jk.mindskip.dto.TbStudent;
import com.jk.mindskip.pojo.PagedResponse;

import java.util.List;

public interface TbStudentService {

    /**
     * 通过用户名获得用户信息
     * @param username
     * @return
     */
    public TbStudent findTbStudentByUsername(String username);

    PagedResponse findStudentList(TbStudent tbStudent, Integer pageNum, Integer pageSize);

    void addStudent(TbStudent tbStudent);

    void deleteById(Integer id);

    void updateStudent(TbStudent tbStudent);

    void deleteStudentByIds(List<Integer> ids);
}
